<template>
    <div class="fixed-btn" @click="goBack()">
        返回
    </div>
</template>

<script>
export default {
    data(){
        return {

        }
    },
    created() {
        
    },
    methods: {
        goBack(){
            this.$router.back();
        }
    },
}
</script>

<style lang="less" scoped>
.fixed-btn{
    position: fixed;
    bottom: 1.1rem;
    right:0.3rem;
    width:1rem;
    height: 1rem;
    background: rgba(0, 0, 0, .8);
    color:white;
    border-radius: 50%;
    text-align: center;
    line-height: 1rem;
    z-index: 99;
}    
</style>